﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using BLToolkit.DataAccess;
using BLToolkit.EditableObjects;

namespace Devsoft.DB.Models.Flat
{
    public class ModelWithIdAndManager<T, TManager> : ModelWithManager<T, TManager>, IObjectWithPrimaryKey
        where T : ModelWithManager<T, TManager>
        where TManager : Manager<T>
    {
        [PrimaryKey, Identity]
        public virtual int ID
        {
            get;
            set;
        }
    }
}
